<?php

namespace app\admin\validate;

use think\Validate;

class Message extends Validate
{
    protected $rule = [
        "name" => "require",
        "phone" => "require",
        "mailbox" => "require|email",
        "__token__"=>"require|token"
    ];
    protected $message = [
        "name.require" => "姓名不能虾田",
        "phone.require" => "手机号还空了",
        "mailbox.require" => "邮箱不能为空",
        "mailbox.email" => "邮箱写错了吧"
    ];
}
